/*     */ package com.cr.system.domain;
/*     */ 
/*     */ import com.cr.common.annotation.Excel;
/*     */ import com.cr.common.core.domain.BaseEntity;
/*     */ import javax.validation.constraints.NotBlank;
/*     */ import javax.validation.constraints.Size;
/*     */ import org.apache.commons.lang3.builder.ToStringBuilder;
/*     */ import org.apache.commons.lang3.builder.ToStringStyle;
/*     */ 
/*     */ public class SysPost extends BaseEntity {
/*     */   private static final long serialVersionUID = 1L;
/*     */   
/*     */   @Excel(name = "岗位序号", cellType = Excel.ColumnType.NUMERIC)
/*     */   private Long postId;
/*     */   
/*     */   @Excel(name = "岗位编码")
/*     */   private String postCode;
/*     */   
/*     */   @Excel(name = "岗位名称")
/*     */   private String postName;
/*     */   
/*     */   @Excel(name = "岗位排序", cellType = Excel.ColumnType.NUMERIC)
/*     */   private String postSort;
/*     */   
/*     */   @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
/*     */   private String status;
/*     */   
/*     */   private boolean flag = false;
/*     */   
/*     */   public Long getPostId() {
/*  44 */     return this.postId;
/*     */   }
/*     */   
/*     */   public void setPostId(Long postId) {
/*  49 */     this.postId = postId;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "岗位编码不能为空")
/*     */   @Size(min = 0, max = 64, message = "岗位编码长度不能超过64个字符")
/*     */   public String getPostCode() {
/*  56 */     return this.postCode;
/*     */   }
/*     */   
/*     */   public void setPostCode(String postCode) {
/*  61 */     this.postCode = postCode;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "岗位名称不能为空")
/*     */   @Size(min = 0, max = 50, message = "岗位名称长度不能超过50个字符")
/*     */   public String getPostName() {
/*  68 */     return this.postName;
/*     */   }
/*     */   
/*     */   public void setPostName(String postName) {
/*  73 */     this.postName = postName;
/*     */   }
/*     */   
/*     */   @NotBlank(message = "显示顺序不能为空")
/*     */   public String getPostSort() {
/*  79 */     return this.postSort;
/*     */   }
/*     */   
/*     */   public void setPostSort(String postSort) {
/*  84 */     this.postSort = postSort;
/*     */   }
/*     */   
/*     */   public String getStatus() {
/*  89 */     return this.status;
/*     */   }
/*     */   
/*     */   public void setStatus(String status) {
/*  94 */     this.status = status;
/*     */   }
/*     */   
/*     */   public boolean isFlag() {
/*  99 */     return this.flag;
/*     */   }
/*     */   
/*     */   public void setFlag(boolean flag) {
/* 104 */     this.flag = flag;
/*     */   }
/*     */   
/*     */   public String toString() {
/* 109 */     return (new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE))
/* 110 */       .append("postId", getPostId())
/* 111 */       .append("postCode", getPostCode())
/* 112 */       .append("postName", getPostName())
/* 113 */       .append("postSort", getPostSort())
/* 114 */       .append("status", getStatus())
/* 115 */       .append("createBy", getCreateBy())
/* 116 */       .append("createTime", getCreateTime())
/* 117 */       .append("updateBy", getUpdateBy())
/* 118 */       .append("updateTime", getUpdateTime())
/* 119 */       .append("remark", getRemark())
/* 120 */       .toString();
/*     */   }
/*     */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-system-4.7.0.jar!\com\cr\system\domain\SysPost.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */